package com.xyazm.order.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xyazm.common.domain.BaseDO;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单售后
 * @author xuyou
 * @date: 2022/6/29 11:08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AfterSaleInfo对象", description = "订单售后表")
@TableName("after_sale_info")
public class AfterSaleInfoDO extends BaseDO implements Serializable {

    /**
     * 售后id
     */
    private String afterSaleId;

    /**
     * 接入方业务标识
     */
    private Integer businessIdentifier;

    /**
     * 订单号
     */
    private String orderId;

    /**
     * 订单来源渠道
     */
    private Integer orderSourceChannel;

    /**
     * 购买用户id
     */
    private String userId;

    /**
     * 订单类型
     */
    private Integer orderType;

    /**
     * 申请售后来源
     */
    private Integer applySource;

    /**
     * 申请售后时间
     */
    private Date applyTime;

    /**
     * 申请原因编码
     */
    private Integer applyReasonCode;

    /**
     * 申请原因
     */
    private String applyReason;

    /**
     * 审核时间
     */
    private Date reviewTime;

    /**
     * 客服审核来源
     */
    private Integer reviewSource;

    /**
     * 客服审核结果编码
     */
    private Integer reviewReasonCode;

    /**
     * 客服审核结果
     */
    private String reviewReason;

    /**
     * 售后类型
     */
    private Integer afterSaleType;

    /**
     * 售后类型详情枚举
     */
    private Integer afterSaleTypeDetail;

    /**
     * 售后单状态
     */
    private Integer afterSaleStatus;

    /**
     * 申请退款金额
     */
    private Integer applyRefundAmount;

    /**
     * 实际退款金额
     */
    private Integer realRefundAmount;

    /**
     * 备注
     */
    private String remark;

}
